package com.pcbly.web.bean.crm;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class LsdProductBean extends AbstractBaseBean {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6361667419710586919L;
	private String lsdId;             //零售单编号
	private String productId;         //产品编号
	private String productXh;         //产品规格
	private String productName;       //产品名称
	private double price = 0;          //售价
	private int nums = 0;              //数量
	private double xj = 0;             //金额
	private String remark;             //备注
	private double cbj;                //成本单价
	private String qzSerialNum;      //序列号
	private double khCbj;             //考核成本单价
	private String qzFlag;            //强制序列号
	private double gf = 0;             //工分(比例点杀)
	private String dw = "";            //单位
	
	private double sd = 0;             //税点
	private double ds = 0;             //金额点杀
	private double basicRatio = 0;    //基本提成比例
	private double outRatio = 0;      //超限提成比例
	private double lsxj = 0;           //零售限价
	
	public String getLsdId() {
		return lsdId;
	}
	public void setLsdId(String lsdId) {
		this.lsdId = lsdId;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getProductXh() {
		return productXh;
	}
	public void setProductXh(String productXh) {
		this.productXh = productXh;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getQzSerialNum() {
		return qzSerialNum;
	}
	public void setQzSerialNum(String qzSerialNum) {
		this.qzSerialNum = qzSerialNum;
	}
	public double getKhCbj() {
		return khCbj;
	}
	public void setKhCbj(double khCbj) {
		this.khCbj = khCbj;
	}
	public String getQzFlag() {
		return qzFlag;
	}
	public void setQzFlag(String qzFlag) {
		this.qzFlag = qzFlag;
	}
	public double getBasicRatio() {
		return basicRatio;
	}
	public void setBasicRatio(double basicRatio) {
		this.basicRatio = basicRatio;
	}
	public double getOutRatio() {
		return outRatio;
	}
	public void setOutRatio(double outRatio) {
		this.outRatio = outRatio;
	}
	public double getCbj() {
		return cbj;
	}
	public void setCbj(double cbj) {
		this.cbj = cbj;
	}  
	public int getNums() {
		return nums;
	}
	public void setNums(int nums) {
		this.nums = nums;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	 
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public double getXj() {
		return xj;
	}
	public void setXj(double xj) {
		this.xj = xj;
	}
	 
	public double getGf() {
		return gf;
	}
	public void setGf(double gf) {
		this.gf = gf;
	}
	public String getDw() {
		return dw;
	}
	public void setDw(String dw) {
		this.dw = dw;
	}
	 
	public double getDs() {
		return ds;
	}
	public void setDs(double ds) {
		this.ds = ds;
	}
	
	public double getSd() {
		return sd;
	}
	public void setSd(double sd) {
		this.sd = sd;
	}
	public double getLsxj() {
		return lsxj;
	}
	public void setLsxj(double lsxj) {
		this.lsxj = lsxj;
	}
	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
